package com.youchuang.action.admin;

import org.apache.log4j.Logger;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;

import com.youchuang.action.BaseAction;
import com.youchuang.common.Constant;

/**
 * 跳转到用户密码修改
 * 
 * @author Administrator
 *
 */
@Namespace(value = "/admin")
@ParentPackage("shopping-default")
public class ToPasswordUpdateAction extends BaseAction{
	private Logger logger = Logger.getLogger(ToPasswordUpdateAction.class.getSimpleName());

	@Action(value = "toPasswordUpdate", results = {
			@Result(name = Constant.SUCCESS, location = "/WEB-INF/jsp/ad/passwordupdate.jsp") })
	public String execute() throws Exception {
		logger.info("method is execute");
		return Constant.SUCCESS;
	}

}
